package server.customers;

import server.database.DatabaseService;
import server.servlet.AbstractEntityServlet;

public class CustomersServlet extends AbstractEntityServlet
{
	private static final long serialVersionUID = -759432034644441724L;

	public static final String PATH = API + "/customers";

	public static final String CUSTOMER = "customer";
	public static final String CUSTOMERS = "customers";

	@Override
	protected String getEntityName()
	{
		return CUSTOMER;
	}

	@Override
	protected String getEntitiesName()
	{
		return CUSTOMERS;
	}

	@Override
	protected CustomersTable getTable()
	{
		return (CustomersTable) DatabaseService.getInstance().getTable(CustomersTable.TABLE_NAME);
	}

}
